package com.jobcn.repository.spider;

import com.jobcn.entity.SpiderArea;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by winson on 17-6-20.
 */
@Transactional
@Repository
public interface SpiderAreaRepository extends JpaRepository<SpiderArea, Integer> {
    List<SpiderArea> findAllByAvailable(Boolean available);
}